package com.example.mapper;



import com.example.entity.SeatReserve;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SeatReserveMapper {
    int insert(SeatReserve seatReserve);
    
    List<SeatReserve> selectAll(SeatReserve seatReserve);

    void updateById(SeatReserve seatReserve);

    void deleteById(Integer id);

    @Select("select * from `seat_reserve` where id = #{id}")
    SeatReserve selectById(Integer id);
}
